﻿<!DOCTYPE html>

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <script src="../../plugins/jquery-1.7.2.min.js"></script>
    <script src="../dev/base.js"></script>
    <meta charset="utf-8"/>
    <title></title>
</head>
<body>
<script type="text/javascript">
    EIAP.onReady(function () {
        var subI;
        var subH;
        var sub;
        sub =  subI = subH = {
            name: '李白'
        };
        var  sup = {
                name:'杜甫',
                age: 16
            };
        sub = EIAP.apply(sub, sup, { size: 46 });
        subH = EIAP.applyHave(subH, sup);
        subI = EIAP.applyIf(subI, sup);
        var body = EIAP.getBody();

        var originalArray = ["0","1","2","3","4"];
        var newArray = EIAP.toArray(originalArray);
        var newArray1 = EIAP.toArray(originalArray,1);
        var newArray2 = EIAP.toArray(originalArray,0,5);


        var text1 = EIAP.TextField({
            renderTo: "textfield",
            width: "98%",
            title: "性别",
            name: 'sex',
            field: ['man', 'woman'],
            handler: function () {
                console.log("test");
            },
            displayText: "search test"
        });

        var text2 = EIAP.TextField({
            renderTo: "password",
            inputType: "password",
            title: "密码",
            minlength: 6,
            maxlength: 12,
            name: 'password',
            allowBlank: false
        });

        var s = "";


    });
</script>



</body>
</html>